immutable class PQMIN{T < $IS_LT{T}} < $IS_LT{PQMIN{T}} |
---|
**** | Wrapper that inverts the < behavior, so that the priority queue will be sorted based on the > relationship i.e. minimal elements will be extracted first
_ |
$IS_LT{_} | $IS_EQ |
attr element: T; |
---|
attr element: T; |
---|
create(e: T): SAME |
---|
is_eq(e: SAME): BOOL |
---|
is_eq(arg: $OB): BOOL .. Included as is_eq |
---|
is_lt(e:SAME):BOOL |
---|
**** | Return true is self is GREATER than "e" i.e. invert the relationship |
str(e: T): STR |
---|